package com.jied.duodian.service;

import com.jied.duodian.entity.DdOrder;
import com.jied.duodian.entity.DdProduct;
import com.jied.duodian.entity.DdShopping;

import java.time.LocalDate;
import java.time.LocalDateTime;
import java.util.List;

/**
 * Description:
 *
 * @author LiJie
 * @date Created on 2020/10/29
 * WWW https://github.com/j6l
 */
public interface DdOrderService {

    DdOrder getOrderByid(Integer id);

    DdOrder getOrderBysu(String id);

    Integer addOrderList(DdOrder ddOrder);

    void getsdasd(DdShopping shopping, DdOrder ddOrder, DdProduct product);

    List<DdOrder> getallbyusername(String getuserName);

    List<DdOrder> getOrder();

    Integer updataOrderByid(DdOrder order);

    Integer delorderbyid(Integer id);

    long getmonth(LocalDate firstday);

    Long getOrderzt();

    Long getOrdernopay();

    Long getOrdernofa();
}
